package com.leoblog.domain;

import com.leoblog.domain.base.BaseDOM;

public class Category extends BaseDOM {

	/**
	 * serial version id
	 */
	private static final long serialVersionUID = -1469780191972518301L;
	/**
	 * category name
	 */
	private String name;

	/**
	 * description
	 */
	private String description;
	/**
	 * parent category
	 */
	private Category parent;
	/**
	 * associate Object-web site 
	 */
	private WebSite webSite;
	
	public WebSite getWebSite() {
		return webSite;
	}
	public void setWebSite(WebSite webSite) {
		this.webSite = webSite;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Category getParent() {
		return parent;
	}
	public void setParent(Category parent) {
		this.parent = parent;
	}
	
}
